package org.polaris.gift.constants;

public enum ResponseCode {

    RESPONSE_CODE_200(200,"操作成功"),
    RESPONSE_CODE_300(300,"激活错误,超过时间!"),
    RESPONSE_CODE_400(400,"参数错误"),
    RESPONSE_CODE_400001(400001,"两次密码不一致,请检查后重新提交!"),
    RESPONSE_CODE_400002(400002,"店铺已存在,请检查后重新提交!"),
    RESPONSE_CODE_400003(400003,"参数不能为空,请检查后重新提交!"),
    RESPONSE_CODE_400004(400004,"请输入正确的验证码!"),
    RESPONSE_CODE_400005(400005,"手机号不能为空!"),
    RESPONSE_CODE_400006(400006,"验证码不能为空!"),
    RESPONSE_CODE_400007(400007,"请不要频繁发送验证码!"),
    RESPONSE_CODE_400008(400008,"验证码错误!"),
    RESPONSE_CODE_400009(400009,"账号或密码错误!"),
    RESPONSE_CODE_400010(400010,"请先登录!"),
    RESPONSE_CODE_400011(400011,"验证码过期!"),
    RESPONSE_CODE_400012(400012,"该手机号未注册!"),
    RESPONSE_CODE_400013(400013,"该手机号已绑定,请勿重复绑定!"),
    RESPONSE_CODE_400014(400014,"该用户已存在!"),
    RESPONSE_CODE_500(500,"网路错误!请稍后再试!"),


    ;
    private Integer code;
    private String message;

    ResponseCode() {
    }

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
